﻿@using SimpleScrum.Utils
@model SimpleScrum.Core.Entities.Sprint
@{
    ViewBag.Title = "Delete Sprint";
}
<div class="breadcrumbs" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="@Url.Action("Index","DashBoard")">Home</a>
            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li>
            <a href="@Url.Action("Details", "Project", new {id=@Client.Instance.CurrentProjectId})">Project</a>
            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li>
            <a href="@Url.Action("Index", "Sprint", new {projectId=@Client.Instance.CurrentProjectId})">Sprints</a>
            <span class="divider">
                <i class="icon-angle-right arrow-icon"></i>
            </span>
        </li>
        <li class="active">Delete Sprint @Model.Name</li>
    </ul>
    <div class="nav-search pull-right">
        <a class="btn btn-small btn-success" href="@Url.Action("Index","Sprint", new {projectId=@Client.Instance.CurrentProjectId}))">
            <i class="icon-plus-sign-alt"></i>All Sprints
        </a>
    </div>
</div>
<div class="page-content">
    <div class="page-header position-relative">
        <h1>@ViewBag.Title<small><i class="icon-double-angle-right"></i>@ViewBag.Message</small></h1>
    </div><!--/.page-header-->
    <div class="row-fluid">
        <div class="widget-container-span">
            <div class="widget-box">
                <div class="widget-header header-color-pink">
                    <h5>Are you sure you want to delete this?</h5>
                    <div class="widget-toolbar">
                        <a href="#" data-action="collapse"><i class="1 icon-chevron-up bigger-125"></i></a>
                    </div>
                </div>
                <div class="widget-body">
                    <div class="widget-main">
                        <p class="alert alert-info">@Html.DisplayFor(model => model.Name)</p>
                        <p class="alert alert-success">@Html.DisplayFor(model => model.Description)</p>
                    </div>
                    <div class="widget-toolbox padding-8 clearfix">
                        @using (Html.BeginForm())
                        {
                            <button class="btn btn-mini btn-danger pull-right"><i class="icon-remove"></i>Delete</button>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
